ADP\BaseVersion\Includes\Rule\Structures\SingleItemRule A

Total Complexity 52
Dependencies 7
Dependents 14
Total lines 451
Lines of code 162
Logical lines of code 72
Comment lines 162
Methods 39
Properties 16

Methods 39

Method Rating Maintainability Complexity Lines of code
__clone()
S
59 3 16
setRoleDiscounts()
S
67 3 8
hasProductRangeAdjustment()
S
79 2 3
setItemGiftStrategy()
S
71 2 6
setApplyFirstTo()
S
71 2 6
addFilter()
S
74 2 5
setFilters()
S
71 2 6
installProductAdjustmentHandler()
S
74 2 5
installProductRangeAdjustmentHandler()
S
74 2 5
setItemGiftLimit()
S
78 2 3
hasProductAdjustment()
S
79 2 3
__construct()
S
59 1 14
setDontApplyBulkIfRolesMatched()
S
81 1 3
isDontApplyBulkIfRolesMatched()
S
82 1 3
setSortableBlocksPriority()
S
81 1 3
getSortableBlocksPriority()
S
82 1 3
setReplaceItemGiftsCode()
S
81 1 3
setSortableApplyMode()
S
81 1 3
setItemsCountLimit()
S
80 1 3
getItemsCountLimit()
S
82 1 3
getSortableApplyMode()
S
82 1 3
isItemsCountLimitExists()
S
80 1 3
getRoleDiscounts()
S
82 1 3
getItemGiftLimit()
S
82 1 3
getReplaceItemGiftsCode()
S
82 1 3
setReplaceItemGifts()
S
80 1 3
isReplaceItemGifts()
S
82 1 3
getItemGiftSubtotalDivider()
S
82 1 3
setItemGiftSubtotalDivider()
S
80 1 3
getItemGiftStrategy()
S
82 1 3
isItemGiftsUseProductFromFilter()
S
82 1 3
setItemGiftsUseProductFromFilter()
S
81 1 3
getItemGiftsCollection()
S
82 1 3
setItemGifts()
S
77 1 4
getProductRangeAdjustmentHandler()
S
82 1 3
getProductAdjustmentHandler()
S
82 1 3
getFilters()
S
82 1 3
buildProcessor()
S
79 1 3
getApplyFirstTo()
S
82 1 3